﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameTank
{
    public class FormContent : VisibleGameEntity
    {
        public static StartMenu         startMenu;
        public static QuitMenu          quitMenu;
        public static GamePlay          gamePlay;
        public static GamePlayMenu      gamPlayMenu;
        public static EndMissionMenu    endMission;

        public void ReInit()
        {
            while (Childs.Count != 0)
            {
                Childs.RemoveAt(0);
            }
            Childs.Add(startMenu);
            Childs.Add(quitMenu);
            Childs.Add(gamePlay);
            Childs.Add(gamPlayMenu);
            Childs.Add(endMission);

            startMenu.Hide();
            quitMenu.Hide();
            gamePlay.Hide();
            gamPlayMenu.Hide();
            endMission.Hide();
        }
    }
}
